﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Api.Models
{
    /// <summary>
    /// eazy_averment:实体类(属性说明自动提取数据库字段的描述信息)
    /// </summary>
    [Serializable]
    public partial class averment
    {
        public averment()
        { }
        #region Model
        private int _id;
        private int _instance_id = 0;
        private string _case_tile;
        private string _dangshiren;
        private string _shenbianren;
        private string _chengbanren;
        private string _didian;
        private string _jiluren;
        private DateTime? _s_time;
        private DateTime? _e_time;
        private string _content;
        private string _s_qianm;
        private string _j_qianm;
        private DateTime? _sub_time;
        private DateTime _add_time = DateTime.Now;
        /// <summary>
        /// 自增ID
        /// </summary>
        public int id
        {
            set { _id = value; }
            get { return _id; }
        }
        /// <summary>
        /// 实例ID
        /// </summary>
        public int instance_id
        {
            set { _instance_id = value; }
            get { return _instance_id; }
        }
        /// <summary>
        /// 案由
        /// </summary>
        public string case_tile
        {
            set { _case_tile = value; }
            get { return _case_tile; }
        }
        /// <summary>
        /// 当事人
        /// </summary>
        public string dangshiren
        {
            set { _dangshiren = value; }
            get { return _dangshiren; }
        }
        /// <summary>
        /// 申辩人
        /// </summary>
        public string shenbianren
        {
            set { _shenbianren = value; }
            get { return _shenbianren; }
        }
        /// <summary>
        /// 承办人
        /// </summary>
        public string chengbanren
        {
            set { _chengbanren = value; }
            get { return _chengbanren; }
        }
        /// <summary>
        /// 申辩地点
        /// </summary>
        public string didian
        {
            set { _didian = value; }
            get { return _didian; }
        }
        /// <summary>
        /// 记录人
        /// </summary>
        public string jiluren
        {
            set { _jiluren = value; }
            get { return _jiluren; }
        }
        /// <summary>
        /// 申辩开始时间
        /// </summary>
        public DateTime? s_time
        {
            set { _s_time = value; }
            get { return _s_time; }
        }
        /// <summary>
        /// 申辩结束时间
        /// </summary>
        public DateTime? e_time
        {
            set { _e_time = value; }
            get { return _e_time; }
        }
        /// <summary>
        /// 申辩内容
        /// </summary>
        public string content
        {
            set { _content = value; }
            get { return _content; }
        }
        /// <summary>
        /// 申辩人签名
        /// </summary>
        public string s_qianm
        {
            set { _s_qianm = value; }
            get { return _s_qianm; }
        }
        /// <summary>
        /// 记录人签名
        /// </summary>
        public string j_qianm
        {
            set { _j_qianm = value; }
            get { return _j_qianm; }
        }
        /// <summary>
        /// 办理时间
        /// </summary>
        public DateTime? sub_time
        {
            set { _sub_time = value; }
            get { return _sub_time; }
        }
        /// <summary>
        /// 添加时间
        /// </summary>
        public DateTime add_time
        {
            set { _add_time = value; }
            get { return _add_time; }
        }

        private List<case_attach> _attach;
        public List<case_attach> attach
        {
            set { _attach = value; }
            get { return _attach; }
        }
        #endregion
    }
}
